package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**每个时间段剩余预约次数响应实体
 * @author ljc
 * @version V1.0
 * @date 2025-03-06 21:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "每个时间段剩余预约次数响应实体")
public class ReservationVo {
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;
    @ApiModelProperty(value = "预约剩余次数")
    private Integer count;
}

